package com.hogae.capital.domain;

import java.math.BigDecimal;

import com.hogae.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.hogae.core.core.domain.BaseEntity;

/**
 * 资金池记录对象 cap_pool_account_record
 *
 * @author hogae
 * @date 2021-02-26
 */
@ApiModel("资金池记录对象")
@Data
public class CapPoolAccountRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 自增ID
     */
    @ApiModelProperty("自增ID")
    private Long id;

    /**
     * 资金池用户ID
     */
    @Excel(name = "资金池用户ID")
    @ApiModelProperty("资金池用户ID")
    private Long fromUserId;

    /**
     * 资金去向
     */
    @Excel(name = "资金去向")
    @ApiModelProperty("资金去向")
    private Long toUserId;

    /**
     * 资金池操作类型 0 充值 1 支出
     */
    @Excel(name = "资金池操作类型 0 充值 1 支出")
    @ApiModelProperty("资金池操作类型 0 充值 1 支出")
    private String poolOperationType;

    /**
     * 资金类型
     */
    @Excel(name = "资金类型")
    @ApiModelProperty("资金类型")
    private String amountType;

    /**
     * 金额
     */
    @Excel(name = "金额")
    @ApiModelProperty("金额")
    private BigDecimal amount;


}
